package cn.shujuhai.workflow.config;

import cn.shujuhai.workflow.service.flow.UserSyncService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @Author: NiuYaHu
 * @Date: 2025/3/31 11:15
 * @Description:
 **/
@Component
@RequiredArgsConstructor
public class UserSyncTask {

    final UserSyncService userSyncService;

    /**
     * 定时同步用户数据
     */
//        @Scheduled(cron = "${spring.task.scheduling.cron.user-sync}")
//        public void syncUsers() {
//            this.userSyncService.syncUsers();
//        }
}

